package com.garlic.face.jlf.model;


import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

@Table(name = "order")//表名
public class SqlOrderBean {

    @Column(name = "_id", isId = true, autoGen = true)
    public int _id;

    //门店名字
    @Column(name = "store_code")
    public String store_code;

    //设备名字
    @Column(name = "device_num")
    public String device_num;

    //我本地的订单号
    @Column(name = "down_trade_no")
    public String down_trade_no;

    //支付场景
    @Column(name = "pay_scene")
    public String pay_scene;

    //支付渠道
    @Column(name = "pay_channel")
    public String pay_channel;

    //请求号
    @Column(name = "request_trade_no")
    public String request_trade_no;

    //渠道号
    @Column(name = "channel_trade_no")
    public String channel_trade_no;

    //买家名字
    @Column(name = "buyer_user_id")
    public String buyer_user_id;

    //买家金额
    @Column(name = "buyer_amount")
    public String buyer_amount;

    //商户优惠
    @Column(name = "seller_coupon")
    public String seller_coupon;

    //渠道优惠
    @Column(name = "chn_coupon")
    public String chn_coupon;

    //订单版本号
    @Column(name = "version_code")
    public String version_code;

    //是否已经回流
    @Column(name = "order_back")
    public String order_back;

    public int get_id() {
        return _id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public String getStore_code() {
        return store_code;
    }

    public void setStore_code(String store_code) {
        this.store_code = store_code;
    }

    public String getDevice_num() {
        return device_num;
    }

    public void setDevice_num(String device_num) {
        this.device_num = device_num;
    }

    public String getDown_trade_no() {
        return down_trade_no;
    }

    public void setDown_trade_no(String down_trade_no) {
        this.down_trade_no = down_trade_no;
    }

    public String getPay_scene() {
        return pay_scene;
    }

    public void setPay_scene(String pay_scene) {
        this.pay_scene = pay_scene;
    }

    public String getPay_channel() {
        return pay_channel;
    }

    public void setPay_channel(String pay_channel) {
        this.pay_channel = pay_channel;
    }

    public String getRequest_trade_no() {
        return request_trade_no;
    }

    public void setRequest_trade_no(String request_trade_no) {
        this.request_trade_no = request_trade_no;
    }

    public String getChannel_trade_no() {
        return channel_trade_no;
    }

    public void setChannel_trade_no(String channel_trade_no) {
        this.channel_trade_no = channel_trade_no;
    }

    public String getBuyer_user_id() {
        return buyer_user_id;
    }

    public void setBuyer_user_id(String buyer_user_id) {
        this.buyer_user_id = buyer_user_id;
    }

    public String getBuyer_amount() {
        return buyer_amount;
    }

    public void setBuyer_amount(String buyer_amount) {
        this.buyer_amount = buyer_amount;
    }

    public String getSeller_coupon() {
        return seller_coupon;
    }

    public void setSeller_coupon(String seller_coupon) {
        this.seller_coupon = seller_coupon;
    }

    public String getChn_coupon() {
        return chn_coupon;
    }

    public void setChn_coupon(String chn_coupon) {
        this.chn_coupon = chn_coupon;
    }

    public String getVersion_code() {
        return version_code;
    }

    public void setVersion_code(String version_code) {
        this.version_code = version_code;
    }

    public String getOrder_back() {
        return order_back;
    }

    public void setOrder_back(String order_back) {
        this.order_back = order_back;
    }

    @Override
    public String toString() {
        return "SqlOrderBean{" +
                "_id=" + _id +
                ", store_code='" + store_code + '\'' +
                ", device_num='" + device_num + '\'' +
                ", down_trade_no='" + down_trade_no + '\'' +
                ", pay_scene='" + pay_scene + '\'' +
                ", pay_channel='" + pay_channel + '\'' +
                ", request_trade_no='" + request_trade_no + '\'' +
                ", channel_trade_no='" + channel_trade_no + '\'' +
                ", buyer_user_id='" + buyer_user_id + '\'' +
                ", buyer_amount='" + buyer_amount + '\'' +
                ", seller_coupon='" + seller_coupon + '\'' +
                ", chn_coupon='" + chn_coupon + '\'' +
                ", version_code='" + version_code + '\'' +
                ", order_back='" + order_back + '\'' +
                '}';
    }
}
